package com.bysj.lms.mapper;

import com.bysj.lms.pojo.entity.LmsBr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bysj.lms.pojo.dto.LmsBrDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
@Repository
public interface LmsBrMapper extends BaseMapper<LmsBr> {

    List<LmsBrDto> find(@Param("name")String name,@Param("uid") String uid,@Param("status")String status);

    int statusBatch(@Param("ids")String[] ids,@Param("status") String status);

    //查找超时借用
    List<LmsBrDto> TimeOutList();
}
